﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="FormEditor.list" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>FormEditor.Demo-列表页面</title>
    <script src="Scripts/jquery-1.9.1.js"></script>
    <script src="Scripts/formEditor.js"></script>
    <script src="Scripts/ajaxhelper.js"></script>
    <script type="text/javascript">

        function onSearch() {
            alert($(".formeditor-list").getValues());
        }


    </script>
</head>
<body>
    <form id="form1" runat="server">
        测试：<input id="Text1" type="text" datakey="Name1" value="admin1" />
        <div class="formeditor-list">
            名称：<input id="txtName" type="text" datakey="Name" value="admin" />
            邮箱:<input id="txtEmail" type="text" datakey="Email" value="jackandmary@qq.com" />
            民族：<select id="sel1" datakey="NationType">
                <option value="1">汉族</option>
                <option value="2" selected="selected">回族</option>
            </select>
            <input id="btnSearch" type="button" value="查询" onclick="onSearch()" />
        </div>
    </form>

</body>
</html>
